package com.infowarelab.groovytest.impl;

import com.infowarelab.groovytest.ContentService;
import com.infowarelab.groovytest.ReadService;

public class ReadServiceImpl implements ReadService {

	private ContentService contentService;

	public String readContent() {
		return "hello " + this.contentService.getContent();
	}

	/**
	 * @return the contentService
	 */
	public ContentService getContentService() {
		return contentService;
	}

	/**
	 * @param contentService
	 *            the contentService to set
	 */
	public void setContentService(ContentService contentService) {
		this.contentService = contentService;
	}

}
